// UpdatePair.h

#ifndef __UPDATE_PAIR_H
#define __UPDATE_PAIR_H

#include "Common/FileSystem/EnumDirectory.h"
#include "UpdateAction.h"

#include "../../Common/Archive/IArchive.h"

#include <vector>

namespace Common
{
namespace Archive
{

struct CUpdatePair
{
	Update::PairState::State State;
  int ArcIndex;
  int DirIndex;
  CUpdatePair(): ArcIndex(-1), DirIndex(-1) {}
};

void GetUpdatePairInfoList(
    const Common::FileSystem::CDirItems &dirItems,
	const std::vector<Common::FileSystem::CArcItem> &arcItems,
    FileTimeType fileTimeType,
    std::vector<CUpdatePair> &updatePairs);

}
}

#endif
